package com.aaa.json;

import com.aaa.json.dao.DeptDaoImpl;
import com.aaa.json.entity.Dept;
import com.aaa.json.service.DeptServiceImpl;

import java.util.List;
import java.util.Map;

/**
 * @program: java-json
 * @description:
 * @author: 诸葛龙辰
 * @create: 2023-03-07 14:30
 * @version:
 **/
public class Test {
    public static void main(String[] args) {
        DeptDaoImpl deptDao = new DeptDaoImpl();
        Dept dept = new Dept();
        List<Map> mapList = deptDao.queryByPage1(0, 4, dept);
        //System.out.println(mapList);
        DeptServiceImpl deptService = new DeptServiceImpl();
        List<Map> mapList1 = deptService.queryByPage1(0, 4, dept);
        System.out.println(mapList1);
    }
}
